"""
CLI 界面

新增 add <record>
删除 rm key
修改 set key <changed>
查询 get key
统计 stat
"""

import sys
import click


@click.group()
def cli():
    pass


@cli.command()
def add():
    print('add')


@cli.command()
def rm():
    pass


@cli.command()
def set():
    pass


@cli.command()
def get():
    pass


@cli.command()
def stat():
    pass


if __name__ == "__main__":
    print(sys.argv)
    cli(sys.argv)
